package com.utooo.pojo.domain.quality;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 进货查验任务(aigis_dhzjrw_202504101750422)
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_dhzjrw_202504101750422")
public class InspectionTaskDO extends BaseDO {

    /**
     * 质检编号
     */
    @TableField("comInputField125")
    private String inspectionNo;

    /**
     * 质检类型
     */
    @TableField("selectField124")
    private String inspectionType;

    /**
     * 公司
     */
    @TableField("selectField121")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("selectField122")
    private String supplierName;

    /**
     * 订单编号
     */
    @TableField("selectField119")
    private String orderNo;

    /**
     * 收货单号
     */
    @TableField("selectField120")
    private String receiptNo;

    /**
     * 发货单号
     */
    @TableField("selectField126")
    private String shipmentNo;

    /**
     * 到货日期
     */
    @TableField("dateField127")
    private LocalDateTime arrivalDate;

    /**
     * 检验日期
     */
    @TableField("dateField128")
    private LocalDateTime inspectionDate;

    /**
     * 检验开始日期
     */
    @TableField("dateField130")
    private LocalDateTime inspectionStartDate;

    /**
     * 检验结束日期
     */
    @TableField("dateField131")
    private LocalDateTime inspectionEndDate;

    /**
     * 物料编码
     */
    @TableField("selectField234")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField("comInputField232")
    private String materialName;

    /**
     * 品类编码
     */
    @TableField("selectField233")
    private String categoryCode;

    /**
     * 品类名称
     */
    @TableField("selectField236")
    private String categoryName;

    /**
     * 检验类型
     */
    @TableField("selectField133")
    private String verificationType;

    /**
     * 检验员
     */
    @TableField("usersSelectField231")
    private String inspector;

    /**
     * 数量
     */
    @TableField("numInputField108")
    private Integer quantity;

    /**
     * 送检数量
     */
    @TableField("numInputField218")
    private Integer submittedQuantity;

    /**
     * 检验合格数量
     */
    @TableField("numInputField219")
    private Integer qualifiedQuantity;

    /**
     * 质检耗损数据
     */
    @TableField("numInputField220")
    private Integer inspectionLossAmount;

    /**
     * 检验不合格数量
     */
    @TableField("numInputField221")
    private Integer unqualifiedQuantity;

    /**
     * 不合格品比例（%）
     */
    @TableField("numInputField222")
    private BigDecimal unqualifiedRatio;

    /**
     * 检验结果
     */
    @TableField("selectField223")
    private String inspectionResult;

    /**
     * 处理措施
     */
    @TableField("selectField224")
    private String handlingMeasure;

    /**
     * 可入库数量
     */
    @TableField("numInputField225")
    private Integer storableQuantity;

    /**
     * 退换货数量
     */
    @TableField("numInputField226")
    private Integer returnQuantity;

    /**
     * 收货明细id
     */
    @TableField("comInputField235")
    private String receiptDetailId;
}